home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / time / date2day2.lha / date2day.doc < prev   
Text File  |  1995-04-10  |  814b  |  36 lines

  1. Short:  date2day
  2. Author: Armin.Obersteiner@giga.or.at
  3.  
  4. --
  5. Description:
  6.  
  7.     Once upon a time I searched for a program to calculate the weekday out of
  8.     a numreic date. I found a SHAREWARE program with GUI to do so ???!
  9.     Whats up? There is absolutely no engenius a-logarithm (internal joke :)
  10.     behind this! So use this as FREEWARE, just mention my name if you
  11.     use it in your programs ...
  12.  
  13. --
  14. date2day template:
  15.  
  16.     input: <int> day,month,year
  17.     output:<int> 0,1-7
  18.  
  19.     0: error (before 1.1.1801 - this should be enough
  20.              if somebody knows a "day" before that please mail it to me)
  21.  
  22.     1-7: Monday-Sunday
  23.  
  24. --
  25. d2d example:
  26.  
  27. >> d2d
  28. USAGE: d2d <day>.<month>.<year>
  29.        example: d2d 27.3.1995
  30.        first usable date: 1.1.1801
  31. >> d2d 27.3.1995
  32. Monday
  33. >> d2d 29.2.1995
  34. Date NOT valid !!
  35. >>
  36.